import ollama



while True:
    question = input("\n请问：").strip()
    res = ollama.chat(model="deepseek-r1:1.5b", stream=False, messages=[{"role": "user", "content": question}],
                      options={"temperature": 2})
    print(f"{res.message.role}回复:{res.message.content}")
    print("\n")






